﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DXApplicationTangche.UC.下单MTO;
using DXApplicationTangche.UC.下单MTO.Service;
using DXApplicationTangche.UC.客户CRM.Service;
using DevExpress.XtraGrid.Demos.util;

namespace DXApplicationTangche.UC.订单一览新.客户充值
{
    public partial class Form会员预存 : DevExpress.XtraEditors.XtraForm
    {
        public Form会员预存()
        {
            InitializeComponent();
            this.select();
        }

        private void select()
        {
            this.gridControl会员预存一览.DataSource = 会员预存Service.getViewRechargeBackDTOAll();
            this.gridView会员预存一览.RefreshData();
        }

        private void simpleButton新增_Click_1(object sender, EventArgs e)
        {
            new Form会员预存维护().ShowDialog();
            this.select();
        }

        private void simpleButton新增充值_Click(object sender, EventArgs e)
        {
            new Form会员预存无免单维护().ShowDialog();
            this.select();
        }
    }
}